package com.kust.smarthome.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kust.smarthome.web.model.Rate;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author iAuzre
 * @since 2021-07-06
 */
public interface IRateService extends IService<Rate> {

    Rate getRate(int userId, int personId);

    String[] getRateString(Integer userId, Integer personId);

    void insert(Rate rate);
}
